
    <div class="container-fluid">
        <div id="pad-wrapper" class="users-list">
            <div class="row-fluid header">
            <h1 class="">创建权限</h1>
                <span style="display: block"class="">&nbsp; </span>
                <span style="display: block"> &nbsp;</span>
                <span style="display: block">&nbsp; </span>
                <span style="display: block">&nbsp;</span>
                <?php $form = \yii\bootstrap\ActiveForm::begin(
                    [  'options'=>['class'=>'new_user_form event-input  '],
                        'fieldConfig'=>['template'=>'{input}{error}']
                        ]
                )?>

                <?php
                if(Yii::$app->session->hasFlash('info'))
                {
                    echo Yii::$app->session->getFlash('info');
                }
                ?>
                <div class="span12 field-box">
                <?= \yii\helpers\Html::label('名称',null).\yii\helpers\Html::textinput('description','',['class'=>'span9'])?>
                </div>
                <div class="span12 field-box">
                    <?= \yii\helpers\Html::label('标识',null).\yii\helpers\Html::textinput('name','',['class'=>'span9'])?>
                </div>
                <div class="span12 field-box">
                    <?= \yii\helpers\Html::label('规则名称',null).\yii\helpers\Html::textinput('roleName','',['class'=>'span9'])?>
                </div>
                <div class="span12 field-box">
                    <?= \yii\helpers\Html::label('数据',null).\yii\helpers\Html::textarea('data','',['class'=>'span9'])?>
                </div>
                <div class="span11 field-box actions">
                <?=\yii\helpers\Html::submitButton('添加',['class'=>'btn-primary btn'])?>
                </div>
                <?php \yii\bootstrap\ActiveForm::end();?>

        </div>
    </div>
